<template>
    <view class="container">
        <view
            class=""
            @click="openSign"
        >
            签名
        </view>
        <zy-sign
            ref="zySignRef"
            mode="horizontal"
            @confirm="getSign"
        />
    </view>
</template>

<script setup>
    import { onLoad, onShow } from '@dcloudio/uni-app';
    import { ref, reactive, getCurrentInstance } from 'vue';

    const zySignRef = ref(null);

    const openSign = () => {
        zySignRef.value.open();
    };

    const getSign = e => {
        console.log(e);

    };
</script>

<style lang="less" scoped>

</style>
